//未读消息列表
export const doctorUnreadNoticeList = (data) =>
  uni.http({
    url: '/doctorapp/v1/unread_notice_list',
    method: 'get',
    data,
    requestType: '',
  })
//首页消息列表
export const doctorAllNoticeList = (data) =>
  uni.http({
    url: '/doctorapp/v1/all_notice_list',
    method: 'get',
    data,
    requestType: ''
  })
//业务类型消息
export const doctorBusinessTypeNews = (data) =>
  uni.http({
    url: '/doctorapp/v1/businessTypeNews',
    method: 'get',
    data,
    requestType: ''
  })
//医生服务协议
export const aboutDoctorService = (data) =>
  uni.http({
    url: '/blapp/v1/about/doctor_service',
    method: 'get',
    data,
    requestType: '',
  })
//获取医生开通的业务
export const getDoctorTransaction = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_transaction',
    method: 'get',
    data,
    requestType: '',
  })
//查看医生某个业务的审核状态
export const getOpenAuditStatus = (data) =>
  uni.http({
    url: '/doctorapp/v1/open_audit_status',
    method: 'get',
    data,
    requestType: '',
  })
//获取医院级别
export const getHospitalLevel = (data) =>
  uni.http({
    url: '/doctorapp/v1/hospital_level',
    method: 'get',
    data,
    requestType: '',
  })
//获取学历等级
export const getEducationLevel = (data) =>
  uni.http({
    url: '/doctorapp/v1/education_level',
    method: 'get',
    data,
    requestType: '',
  })
//医生职称级别
export const getDoctorLevel = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_level',
    method: 'get',
    data,
    requestType: '',
  })
//开通业务页面获取医师认证后的信息
export const getDoctorAuditInfo = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_audit_info',
    method: 'get',
    data,
    requestType: '',
  })
//开通业务提交审核
export const getDoctorOpenTransaction = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_open_transaction',
    method: 'post',
    data,
    requestType: '',
  })
//开通业务页面获取医师认证后的信息
export const getDoctorCloseTransaction = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_close_transaction',
    method: 'get',
    data,
    requestType: '',
  })
//医师认证提交审核
export const getDoctorAudit = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_audit',
    method: 'post',
    data,
    requestType: '',
  })
//医师认证提交审核
export const getDoctorFace = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_face',
    method: 'post',
    data,
    requestType: '',
  })
//医师认证草稿
export const getDoctorCaogao = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_caogao',
    method: 'post',
    data,
    requestType: '',
  })
// 医生服务报价单列表
export const getDoctorQuote = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_quote',
    method: 'get',
    data,
    requestType: '',
  })
// 医生服务设置
export const getDoctorQuoteDetails = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_quote_details',
    method: 'get',
    data,
    requestType: '',
  })
// 问诊设置接单开关
export const getDoctorQuoteSingleSwitch = (data) =>
  uni.http({
    url: '/doctorapp/v1/single_switch',
    method: 'get',
    data,
    requestType: '',
  })
// 医生服务设置保存
export const getDoctorQuoteAdd = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_quote_add',
    method: 'post',
    data,
    requestType: '',
  })
// 孕产跟踪设置保存
export const getDoctorQuoteSet = (data) =>
  uni.http({
    url: '/doctorapp/v1/doctor_quote_save',
    method: 'post',
    data,
    requestType: '',
  })
// 男性接单开关状态
export const getConsultationSwitch = (data) =>
  uni.http({
    url: '/doctorapp/v1/consultation_switch',
    method: 'get',
    data,
    requestType: '',
  })
// 男性问诊价格列表
export const getManServiceList = (data) =>
  uni.http({
    url: '/doctorapp/v1/man_service_list',
    method: 'get',
    data,
    requestType: '',
  })
// 医生价格设置保存到redis
export const getSetConsultationQuote = (data) =>
  uni.http({
    url: '/doctorapp/v1/set_consultation_quote',
    method: 'post',
    data,
    requestType: '',
  })
// 男性问诊价格保存
export const getSaveConsultationQuote = (data) =>
  uni.http({
    url: '/doctorapp/v1/save_consultation_quote',
    method: 'get',
    data,
    requestType: '',
  })
// 问诊列表
export const getConsultation = (data) =>
  uni.http({
    url: '/doctorapp/v1/consultation',
    method: 'get',
    data,
    requestType: '',
  })
// 儿科问诊价格列表
export const childrenServiceDetails = (data) =>
  uni.http({
    url: '/doctorapp/v1/children_service_details',
    method: 'get',
    data,
    requestType: '',
  })
// 保存服务价格到redis
export const childrenServiceSet = (data) =>
  uni.http({
    url: '/doctorapp/v1/children_service_set',
    method: 'post',
    data,
    requestType: '',
  })
// 保存服务设置
export const childrenServiceSave = (data) =>
  uni.http({
    url: '/doctorapp/v1/children_service_save',
    method: 'get',
    data,
    requestType: '',
  })
// 儿科问诊价格列表
export const childrenServiceList = (data) =>
  uni.http({
    url: '/doctorapp/v1/children_service_list',
    method: 'get',
    data,
    requestType: '',
  })